/*
 * @Author: your name
 * @Date: 2020-09-18 10:44:29
 * @LastEditTime: 2020-12-23 18:58:04
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \egg-RESTfulAPI\app\model\carRealTime.js
 */
module.exports = app => {
  const mongoose = app.mongoose
  const SceneBasePointSchema = new mongoose.Schema({
    Id: { type: String, unique: false },
    pointName: { type: String, unique: false },
    geometry: { type: Number, unique: false },
    type: { type: Number, unique: false },
    scene: { type: Number, unique: false },
  }, { timestamps: { createdAt: 'created', updatedAt: 'updated' }, usePushEach: true })
  return mongoose.model('SceneBasePoint', SceneBasePointSchema)
}



